Controller for devices in a control network

ABSTRACT

A controller for controlling a plurality of end devices in a control network includes a space controller for monitoring and receiving data from a space being maintained by the controller, a supervisory controller in communication with the space controller and a device driver. The device driver includes a first selector for selecting a plurality of first output signals from a plurality of first input signals, a second selector for selecting at least one second output signal from the first output signals, and a third selector for selecting an operating mode of the end device from a plurality of predefined operating modes based on the second output signal.

This application is a divisional of Ser. No. 09/990,465 filed on Nov.21, 2001.

BACKGROUND

The present invention generally relates to controllers for operativelycontrolling devices in a control network, and more particularly to anapplication specific controller having features for changing theoperating mode of the device in the field.

Controllers for controlling specific applications of devices in a systembuilt around a control network is well known in the art. Aheating/ventilation/air conditioning (HVAC) system is one such controlnetwork system. These application specific controllers (ASCs) in a HVACsystem, are typically employed as single room controllers in a building,and control up to about five or six HVAC devices. For example, an ASCmight control a damper that allows outside air into a room, a valve thatpermits hot water to run through a coil to heat the air or a fan thatpulls air from the room over the heating coil.

The ASCs are typically programmed at the factory during assembly inaccordance with the design specification of the control network systemin which the ASCs are intended to be implemented. Once the ASCs havebeen installed in the system, it is often very difficult and complicatedto reprogram the ASCs in the field, should the need arise. For example,an ASC for a HVAC system may have been preprogrammed at the factory toallow the temperature of the room to be maintained at a higherpredetermined temperature during the night than in the day. If, however,it is decided after the ASC has been installed in the HVAC system thatthe cooling should be completely disabled at night. It would be acomplicated task for a technician to reconfigure the ASC to perform thenew task.

SUMMARY OF THE INVENTION

The present invention relates to an application specific controller(ASC) having, in addition to the control functions preprogrammed at thefactory, predefined selectable settings for controlling the operatingmodes of the building system components or HVAC devices that areoperatively connected to the ASC. The present invention allows moreflexibility in controlling these devices and significantly simplifiesthe time and effort required in reconfiguring the control functions ofthe controller.

DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of an application specific controller (ASC)embodying the present invention, shown connected to a control networkand to the devices that the ASC controls;

FIG. 2 is block diagram of the ASC of FIG. 1 shown connected to the HVACdevices;

FIG. 3 is a block diagram of examples of different device drivers thatare included in the ASC of FIG. 2 and their corresponding HVAC devices;

FIG. 4 is a block diagram of a heating coil driver;

FIG. 5 is a block diagram of a OA damper driver;

FIG. 6 is a block diagram of a heating/cooling coil driver; and,

FIG. 7 is a block diagram of an alternate embodiment for selecting anoccupancy mode of a device driver.

DETAILED DESCRIPTION OF THE INVENTION

Broadly stated, the present invention is directed to a device driver fora network device controller for selectively controlling an end device ina control network. The device driver includes a first selector forselecting a plurality of first output signals from a plurality of firstinput signals, a second selector for selecting at least one secondoutput signal from the first output signals, and a third selector forselecting an operating mode of the end device from a plurality ofpredefined operating modes based on the second output signal.

In accordance with a present invention, a controller for controlling aplurality of end devices in a control network includes a spacecontroller for monitoring and receiving data from a space beingmaintained by the controller, at least one device driver incommunication with the space controller and operatively connected to acorresponding one of the end devices for selecting an operating mode ofthe corresponding end device from a plurality of predefined operatingmodes, and a supervisory controller in communication with the spacecontroller and the at least one device driver for supplying signalscorresponding to the plurality of predefined operating modes to thedevice driver for selecting the operating mode of the corresponding enddevice. The device driver includes a first selector for selecting aplurality of first output signals from the signals corresponding to theplurality of predefined operating modes, a second selector for selectinga second output signal from the first output signals, and third selectorfor selecting the operating mode of the corresponding end device basedon the second output signal.

In accordance with another aspect of the present invention, A devicedriver for a system controller having a plurality of pre-programmedsystem operating modes for controlling at least one device operativelyconnected to the system controller includes means for setting anoperating mode of the device from a plurality of predetermined deviceoperating modes, means for selecting the device operating mode inaccordance the select system operating modes; and means for defining theselect system operating modes based on user specified operatingfunctions of the device.

Turning to FIG. 1, an application specific controller (ASC) inaccordance with the present invention is generally designated at 10, andis operationally connected to a plurality of end devices 12 such asactuators, indicators, sensors, etc. in a heating/ventilation/airconditioning (HVAC) system 14. It should be understood that while theend devices 12 are shown connected directly to the ASC 10, they can beconnected to the ASC via the network 16. The ASC 10 is connected to andin communication, via the control network, with a system controller 18for sending commands and receiving reports from the ASC. Alternatively,or in addition to the system controller 18, the present inventionincludes a remote system controller 20 for controlling the ASC 10 viathe internet 22, which is in communication with the control network 16.

Turning now to FIG. 2, the ASC 10 includes a device driver 24, a spacecontroller 26 and a supervisory controller 28, and is shownoperationally connected to the end devices 12 in the HAVC system 14. Theend devices 12 are categorized into a plurality of space devices 30 andHVAC devices 32 (two each shown). The HVAC devices 32 include equipmentsuch as, for example, a cooling coil for circulating chilled water, aheating coil for circulating hot water, and a fan for blowing air aroundthe cooling or heating coils and into a space in which the temperatureis controlled to maintain the space temperature at the desired setpoint.The space devices 30 includes equipment such as, for example, sensorsfor detecting the space temperature or the heating and cooling load onthe space. The space devices 30 also include sensors for detectingwhether or not the space is occupied by people.

The space controller 26 of the ASC 10 determines the temperaturesetpoints using local and network inputs, the heating and cooling loadon the space, and the space occupancy based on the signals sent by thespace sensors 30. The supervisory controller 28 sets the “system mode”of the ASC 10 for modifying the operation of the HVAC devices 32. In thepreferred embodiment, the system mode includes an “occupancy mode” inwhich the ASC 10 is controlled in accordance with physical inputs fromthe space devices 30 and the network 16, and an “application mode” inwhich the ASC is controlled based on the local heating/cooling conditionof the space and on commands from the network.

The device driver 24 responds primarily to the thermal load in the spaceand outputs a signal that sets the operating level of the HVAC devices32. The device driver 24 modifies the operation of the HVAC devices 32according to the occupancy mode and the application mode, i.e., theselected system mode set by the supervisory controller 28. In thepreferred embodiment, these “device operating modes” include a MODULATEDmode, a CYCLE or ON/OFF mode, an OFF mode and an ON mode. The MODULATEDmode tracks the thermal load in the space as smoothly as possible sothat the operating level of the HVAC devices 32 are adjusted precisely.For example, in a heating coil, the valve that controls the flow of hotwater would be opened to any degree as specified by the device driver24. The CYCLE mode tracks the load by turning the devices 32 fully ON orfully OFF, but does not offer the precise adjustments in between the twostates as in the MODULATED mode. A device driver 24 set to a CYCLE modewould control the heating coil, by fully opening or fully closing thevalve for controlling hot water flow. In the OFF mode the device wouldbe set to OFF regardless of the load, and in the ON mode the devicewould be set to fully ON regardless of the load.

Turning now to FIG. 3, the device driver 24 is implemented preferably assoftware programs in a neuron processor, which is programmed in neuron Cprogramming language, so as to be incorporated into a LON® controlnetwork. It should be understood, however, that other microprocessorsprogrammed in different programming languages can also be employed,depending on the type of control network 16 used in the control system14. A separate software program is provided for each of the HVAC devices32 that are under the control of the device driver 24. In other words,the device driver 24 is comprised of separate software modules orseparate equipment drivers, corresponding to the different HVAC devices32. For example, a heating coil driver 34 would control the operation ofa heating coil 36, an outside air damper driver 38, the operation of anoutside air damper 40, and the fan driver 42 the fan 44.

Turning now to FIG. 4, the individual software modules or equipmentdrivers of the device driver 24 of the present invention is implemented,as an example, in the heating coil driver 34. The driver 34 includes apair of input selectors 46, 48, an HVAC selector 50 and an outputselector 52. Each of the input selectors 46, 48 includes four datainputs U0-U3, a data output Y and a data input select C for selectingone of the inputs U0-U3 to be output through the output Y. An occupancy(OCC) input 54 is commonly tied to the input select C of both inputselector 46, 48. The value entered through the OCC input 54 may be oneof 0-3, corresponding to inputs U0-U3 of the input selectors,respectively. The inputs U0, U2, U3 of the selector 46 receive data froma MODULATE state 56 for providing a constant value that enables theheating coil driver 34 to modulate the valve in the heating coil totrack the setpoint temperature. The MODULATE state 56 is also connectedto the inputs U0, and U2 of the selector 48. The remaining input U1 ofthe selector 46 is connected to an unoccupied select (UNOCC_SEL) input58, and the inputs U1 and U3 of the selector 48 are connected to aWARMUP_SEL input 59.

The input selectors 46, 48 are arranged such that they output a signalrepresenting various desired functions based on whether the occupancymode of the ASC 10 is set to OCCUPIED or UNOCCUPIED. The selectors 46,48 are configured such that in the OCCUPIED mode, i.e., when the signalinput at the input select C is “0”, the outputs Y of the selectors 46,48 is the value that is provided at the input U0. In the heating coildriver 34, that value is a constant “0”, which correspond to theMODULATE device operating mode. When the input U1 is selected throughthe input select C, the system mode is set to the UNOCCUPIED mode, andthe selector 46 outputs the value from the UNOCC_SEL input 58 that isinput at the input U1. The value may be one of 0, 1, 2 or 3corresponding to the MODULATE, CYCLE, OFF, ON operating modes,respectively. The operating mode is selected by the particularrequirements of the user during the UNOCCUPIED mode. The selector 48also outputs the value from the WARMUP_SEL input 59 at its input U1 inthe UNOCCUPIED mode. The WARMUP_SEL input 59 might be for a periodbetween the UNOCCUPIED mode in which the space is maintained at arelatively low temperature and the OCCUPIED mode in which the space ismaintained at a higher temperature. As in the selector 46, the value atthe input U1 may be one of 0, 1, 2 or 3 corresponding to the MODULATE,CYCLE, ON, OFF modes, respectively.

In the preferred embodiment, the values of 2 and 3 at the input select Cplaces the system modes into BYPASS and STANDBY modes. The STANDBY modeis for times when people are not present, but may be expected any time,such as an empty conference room, surrounded by occupied offices. TheBYPASS mode is for times when people are not scheduled to be present,but they have pushed a button to indicate their unscheduled presence.The operating mode of the device 36 during BYPASS and STANDBY depends onthe requirements of the user. In the example shown in FIG. 4, theoperating mode is MODULATE during BYPASS and may be any of MODULATE,CYCLE, ON, OFF in the STANDBY mode.

The outputs of the two input selectors 46, 48, as determined by thevalue at the input select C, are sent to at least one of the pluralityof predefined inputs of the HVAC selector 50 (inputs 0-15 shown in FIG.4). Also input to the HVAC selector 50 is an OFF program 60 thatgenerates a constant value of “2” for setting the heating coil device 34in the OFF mode. The inputs to the HVAC selector 50 represent thepredefined operating function of the ASC 10, for example, Auto, Heat,Warmup, Cool, etc.

An output Y of the HVAC selector 50 is determined by an application modeAPMODE input 62, which inputs a value into an HVACMODE input of the HVACselector 50 to pick from the different predefined ASC 10 applicationsinput is then output by the HVAC selector. It should be noted that notall inputs 0-15 have an associated predefined application, i.e., inputs7-15. The output Y of the HVAC selector 50 is then transmitted to theoutput selector 52 at the input selector C, which determines one of thefour inputs U0-U3 to be output by the output selector Y of the outputselector.

The inputs U0-U3 of the output selector 52 includes a NORMAL signal 64which is a feedback signal for determining the position of the valve inthe heating coil 36 based on the temperature of the space being heatedby the heating coil. In other words, the NORMAL signal sets the heatingcoil driver 34 in the MODULATED mode. A deadband (DB) signal 66 is alsoa feedback signal based on the space temperature for controlling theposition of the heating coil valve. However, unlike the NORMAL signal 64which provides a precise control for positioning the heating coil valve34 at any open positions from 0% to 100%, the DB signal 66 sets thevalve at either 0% open position or at 100% open position, i.e., thevalve is cycled between the open and closed positions. As shown in FIG.4, the NORMAL signal 64 is supplied to an input U0 and the DB signal 66to a U1. An input U2 receives its signal from a signal generatingprogram 68 that supplies a constant value for setting the heating coilvalve 36 to a 0% open position, and an input U3 receives its signal froma signal generating program 70 that supplies a constant value forsetting the valve to a 100% open position. The output Y of the outputselector 52, as determined by the value (0-3) from the HVAC selector 50,supplies the signal for setting the operating mode of the HVAC device,i.e., the MODULATED, CYCLE, ON and OFF modes.

In operation, the operating mode of the heating coil 36 is reconfiguredby inputting a value 0-3 at the OCC input 54. Based on this value, theinput selector 46 outputs either a value (0-3) corresponding to theUNOCC signal or a constant “0” corresponding to the signal from theMODULATE state 56. The input selector 48 outputs a constant “0”corresponding to the signal from the MODULATE state 56 when the value atthe OCC input 54 is 0 or 2, and one of the values 0-3 corresponding tothe value at the WARMUP_SEL input 59 when the value at the OCC input is1 or 3.

Accordingly, the outputs Y of the selectors 46, 48 have values 0-3 andare input to the predetermined inputs 0-15 of the HVAC selector 50. TheAPMODE input 62 then determines the value to be supplied to the outputselector 52 from the inputs 0-15. The output Y value of the HVACselector 50 is one of 0-3 received from the input selectors 46, 48.Based on this value, the output selector 52 outputs a signal to theheating coil 36 corresponding to the one of the four device operatingmodes, i.e., MODULATED, CYCLE, OFF and ON.

Turning now to FIG. 5, it should be understood that the number of inputselectors required to set the operating modes of the HVAC devices 32depends on the intended use of the device. For example, the outside air(OA) damper driver 38 includes four input selectors 72, 74, 76, 78. TheOA damper 40 (shown in FIG. 3) in the HVAC system 14 opens and closes toadjust the amount of outside air that is allowed into an inside space.The four-selector arrangement allows the OA damper driver 38 to performa “night purge” and a “precool” function that might be desirable duringthe UNOCCUPIED system mode, i.e., when the input select C is providedwith a value of “1” from an OCC input 80. The “night purge” functionenables the HVAC system 14 to cool the space at night using only theoutside air, and the “precool” function similarly allows the system tocool the space using the outside air in the period before the systemmode is set to the OCCUPIED mode. The value at a NPURGE_SEL input 82 forperforming the night purge function and at a PRECOOL_SEL input 84 forperforming the precool function can be any of 0-3, correspondingrespectively to the device operation modes of MODULATE, CYCLE, OFF andON, as set by the user. Thus, when these functions are selected duringthe UNOCCUPED MODE, the OA damper 40 operates in accordance with thevalue (0-3) at the NPURGE_SEL input 82 or the PRECOOL_SEL input 84.

As in the operation of the heating coil driver 34, the outputs of theinput selectors 72, 74, 76, 78 are determined by the value at the inputselect C input via an OCC input 80. For example, if the value sent tothe input select C is “0”, the output of all the input selectors 72, 74,76, 78 will be “0”, since a MODULATE state 85 generates a constant “0”.The value of “0” also sets the system mode to OCCUPIED. A “1” at theinput select C sets the system mode to UNOCCUPIED, and the outputs atthe input selectors 72, 74, 76, 78 are those values input at U1 of theirrespective selectors. A “2” or a “3” at the input select C sets thesystem mode to BYPASS or STANDBY as discussed above.

In the OA damper driver 38, an OFF program 86 for generating a constant“2” for setting the mode operation to OFF is connected to the inputselector 72 and directly to an HVAC selector 88, so that the signal fromthe OFF program can be controlled based on the OCCUPANCY mode and theAPPLICATION mode, or on APPLICATION mode alone.

The values output from the input selectors 72, 74, 76, 78 are input tothe HVAC selector 88. An APMODE input 90 selects the output Y which issupplied to the output selector 92 for choosing one of the four inputs(a NORMAL signal 94 , a deadband (DB) signal 96, and constant generatingprograms 68, 70 for outputting a “2” or a “3”) for the output Y to besent to the OA damper 40. Based on the value from the output Y, theoperating mode of the OA damper 40 is set to NORMAL, CYCLE, OFF or ON.

Turning now to FIG. 6, the heating/cooling coil driver 42 (shown in FIG.3) controls the operation of a coil that is used alternately for hot andcool water. The heating/cooling coil driver 42 includes four inputselectors 102, 104, 106, 108 and two HVAC selectors 110, 112. As in theheating coil driver 34 and the OA damper 38, the output Y of each of theinput selectors 102, 104, 106, 108 is determined by the value at an OCCinput 114. The HVAC selector 110 is adapted to be used for a heatingfunction and the HVAC selector 112 for cooling. As such, the output Y ofthe input selector 104 that accepts signals from the WARMUP_SEL input116 is connected to the HVAC 110, and the output Y of the inputselectors 106, 108 are sent to the HVAC selector 112, since theNPURGE_SEL input and PRECOOL_SEL input control the cooling function ofthe heat/cooling coil 44. The output Y of the selector 102 is suppliedto both HVAC selectors 110, 112, since the UNOCCUPIED system modeaffects both HAVC selectors 110, 112.

The output Y of both HVAC selectors 110, 112, as selected by an APMODEinput 121 for setting the application mode of the system are connectedto a switch 122, which selects one of the two outputs in accordance witha signal from a SOURCEWARM input 124 that determines whether the coil 44is operating as a heating coil or a cooling coil. The output Y from theswitch 122 is sent to an output selector 126 for selecting one of thefour inputs (NORMAL, DB, 0% and 100%) for setting the operating mode ofthe heating/cooling coil.

Turning now to FIG. 7, and in accordance with another aspect of thepresent invention, the occupancy mode of the device driver 24 isselected by an equal block 128 and a switch 130. The equal block 128receives its input from an OCC input 132 and an UNOCCUPIED program 134for generating a constant value representing the unoccupied mode. Whenthe value input from the OCC input 132 is equal to the constant valuefrom the UNOCCUPIED program 134, the switch 130 outputs the value inputfrom the UNOCC_SEL input 136. Otherwise, the output Y of the switch 130is the value (“0”) from a MODULATE state 138 for setting the system modeto OCCUPIED and setting the device operating mode to MODULATE. In thisembodiment, the device function inputs, a WARMUP_SEL 140 and aPRECOOL_SEL 142, for example, are input directly to the HVAC selector144, independently of the occupancy mode of the system. However, once atthe HVAC selector 144, they are subject to selection by the value inputat the APMODE input 146 as described in the examples above. The functionof an output selector 148 is also the same as the other output selectors52, 92, 126 described above.

From the foregoing description, it should be understood that an improvedHVAC device controller has been shown and described which has manydesirable attributes and advantages. The device controller includesselectable system modes for placing the HVAC devices in differentoperating modes without complex and time-consuming reconfiguration. Theoperating modes of the HVAC devices are selected based on theapplication and occupancy modes of the system, the selection variablesof which are programmed into the processor of the device controller bythe installer.

While various embodiments of the present invention have been shown anddescribed, it should be understood that other modifications,substitutions and alternatives are apparent to one of ordinary skill inthe art. Such modifications, substitutions and alternatives can be madewithout departing from the spirit and scope of the invention, whichshould be determined from the appended claims. Various features of theinvention are set forth in the appended claims.

1. A controller for controlling a plurality of end devices in a controlnetwork, comprising: a space controller for monitoring and receivingdata from a space being maintained by the controller; at least onedevice driver in communication with said space controller andoperatively connected to a corresponding one of the end devices, forselecting an operating mode of said corresponding end device from aplurality of predefined operating modes; and, a supervisory controllerin communication with said space controller and said at least one devicedriver for supplying signals corresponding to said plurality ofpredefined operating modes to said device driver for selecting saidoperating mode of said corresponding end device: wherein said devicedriver includes, first means for selecting a plurality of first outputsignal from said signals corresponding to said plurality of predefinedoperating modes; second means for selecting a second output signal fromsaid first output signals, and, third means for selecting said operatingmode of said corresponding end device based on said second outputsignal.
 2. The controller as defined in claim 1 wherein said firstselecting means includes a plurality of input selectors, each having aplurality of inputs and an output, said second selecting means includesat least one intermediate selector having a plurality of inputs and anoutput, and said third selecting means includes an output selectorhaving a plurality of inputs and an output.
 3. The controller defined inclaim 2 wherein said output of each said input selectors are connectedto said plurality of inputs of said at least one intermediate selector,and said output of said at least one intermediate selector is connectedto said output selector for selecting said operating mode.
 4. Thecontroller as defined in claim 3 wherein said plurality of inputselectors are connected to a first common input select signal from saidsupervisory controller for selecting said first output signals, and saidat least one intermediate selector is connected to a second common inputselect signal from said supervisory controller for selecting said secondoutput signal.
 5. The controller as defined in claim 1 wherein thecontrol network is communicatively connected to the internet and saidcontroller is operatively connected to a remote system controller.